package com.design.pattern.designPrinciples.liskovSubstitution.returnParam;import java.util.Collection;import java.util.HashMap;import java.util.Map;/** * create by yufeng on 2021/7/3 16:50 */public class Child extends Base {    @Override    public HashMap method() {        HashMap hashMap = new HashMap();        System.out.println("执行子类的method");        hashMap.put("msg","子类method");        return hashMap;    }}